package com.pansky.crm.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author ：zhouzhiyong
 * @date ：Created in 2021/2/22 9:31
 * @description：角色实体
 */
@Data
@TableName("t_role")
public class Role implements Serializable {
    private static final long serialVersionUID = -6001951337633323101L;

    @TableId(type = IdType.AUTO)
    private Integer id;
    private String roleName;
    private String remark;
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy年MM月dd日 HH:mm:ss")
    private Date updateTime;
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy年MM月dd日 HH:mm:ss")
    private Date createTime;
}
